Use @AddAction instead of @NewAction to refine the action for adding new elements. For example, change:
@OneToMany(mappedBy="invoice")
@CollectionView("NoCustomerNoInvoice")
@NewAction("Invoice.addOrders")// @NewAction is no longer used for define the add actionprivateCollection<Order> orders;
Lesson 9: References & collections
This lesson is available in PDF:Note for OpenXava 5.7 and better
Use @AddAction instead of @NewAction to refine the action for adding new elements. For example, change:By:
Any problem with this lesson? Ask in the forum